package com.stark.wechat.enums;

/**
 * 枚举通用状态。
 * @author Ben
 * @since 1.0.0
 * @version 1.0.0, 2017/8/5
 */
public enum Status {
	/**
	 * 启用
	 */
	ENABLE(1, "启用"),
	/**
	 * 停用
	 */
	DISABLE(0, "停用");
	
	private final Integer value;
	
	private final String text;
	
	private Status(Integer value, String text) {
		this.value = value;
		this.text = text;
	}
	
	public Integer getValue() {
		return this.value;
	}
	
	public String getText() {
		return text;
	}
}
